import { author } from './author.js'
import { TIMELINE_TYPE } from '../../src/helper.js'

export const revisionList = [{
  sub_content_types: ['comment'],
  author: author,
  workspace_id: 1,
  file_extension: '.document.html',
  created: '2020-01-07T09:32:51Z',
  raw_content: '',
  is_editable: false,
  parent_id: null,
  show_in_ui: true,
  modified: '2020-01-07T09:32:51Z',
  label: 'test',
  is_archived: false,
  content_type: 'html-document',
  filename: 'test.document.html',
  revision_id: 5,
  content_id: 3,
  slug: 'test',
  revision_type: 'creation',
  status: 'open',
  is_deleted: false,
  timelineType: TIMELINE_TYPE.REVISION
}, {
  sub_content_types: ['comment'],
  author: author,
  workspace_id: 1,
  file_extension: '.document.html',
  created: '2020-01-07T15:26:17Z',
  raw_content: '<p>new version</p>',
  is_editable: true,
  parent_id: null,
  show_in_ui: true,
  modified: '2020-01-07T15:26:17Z',
  label: 'test',
  is_archived: false,
  content_type: 'html-document',
  filename: 'test.document.html',
  revision_id: 6,
  content_id: 3,
  slug: 'test',
  revision_type: 'edition',
  status: 'open',
  is_deleted: false,
  timelineType: TIMELINE_TYPE.REVISION
}]
